home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / mail / mailleds.93 / mailleds / mailleds-0.93 / config.h next >
C/C++ Source or Header  |  1996-04-22  |  2KB  |  60 lines

  1. /* the default inbox location on your system.  Defaults to _PATH_MAILDIR */
  2. /* #define MAILDIR "/var/spool/mail" */
  3.  
  4. /* The place where mailleds will store its pid files.  NOTE:
  5.    this directory doesn't need to be global writeable, as mailleds will
  6.    write out the pidfile as root */
  7.  
  8. #ifndef DEBUG
  9. #define PIDFILE_DIR  "/var/run"
  10. #else
  11. #define PIDFILE_DIR "/tmp"
  12. #endif
  13.  
  14. /* Port to send data to.  NOTE: must be a paralell port, or you must
  15.    know what you're doing!  You might screw up your sys with a bad port
  16.    here. */
  17. #define LPT_PORT 0x378
  18. /* #define LPT_PORT 0x278 */
  19.  
  20. /* max number of virtual consoles (vt's) you will need */
  21. #define MAX_CONSOLES 63
  22.  
  23. /* Time spent with leds on, leds off, and when -a is specified, time between 
  24.    blink series.  These are "tune to your liking" type of params. */
  25.  
  26. /*  Martin likes these pauses, which give a _very_ quick, trekkie appeal to things. 
  27.     Admittedly, they're easier to read the # of messages. 
  28.     
  29.     However, my led setup involves bright, eye-catching green lights. 
  30.     These settings make me nervous. =) */
  31. /*
  32. #define BLINK_TIME_ON        40000
  33. #define BLINK_TIME_OFF        20000
  34. #define TIME_BETWEEN_COUNTS    80000
  35. */
  36.  
  37. /*  I prefer a slow, lethargic microsecond pause like this: */
  38. #define BLINK_TIME_ON        400000
  39. #define BLINK_TIME_OFF        300000
  40. #define TIME_BETWEEN_COUNTS    700000
  41.  
  42. /* sleep time in seconds between mailbox checks (if there isn't any mail)
  43.    This can be 1 considering it's just a stat now. 
  44. */
  45. #define INTERVAL_BETWEEN_CHECKS 1
  46.  
  47. /* default keyboard leds to flash:
  48. LED_SCR for scroll Lock, LED_NUM for Num Lock, LED_CAP for Caps Lock,
  49. or 0 for none.
  50. Boolean or these together to get the desired default.  
  51. Just look at the examples. */
  52.  
  53. /* #define DEF_KBD_LEDS 0 */
  54. /* #define DEF_KBD_LEDS LED_SCR | LED_NUM | LED_CAP */
  55. #define DEF_KBD_LEDS LED_SCR
  56.  
  57. /* default parallel lights to flash.  Any boolean or combination
  58.    of PORT_LED_[1-8] */
  59. #define DEF_PORT_LEDS PORT_LED_1
  60.